package com.huadao.cart_ccs.data.bo;

import com.huadao.cart_ccs.R;
import com.huadao.cart_ccs.main.CartApplication;

public class UltravioletLightBO extends BaseBO {
    public static final byte ModularType_UltravioletLight =0x9;
    public static final byte ultravioletLight_NO1 = 0x01;//紫外灯
    public static final byte off = (byte) 0xAA;//关灯
    public static final byte on = (byte) 0xCC;//开灯

    private byte status;

    public byte getStatus() {
        return status;
    }

    public void setStatus(byte status) {
        this.status = status;
    }

    @Override
    protected String getOrderStr() {
        String orderStr = null;
        if (order == off) {
            orderStr = CartApplication.getInstance().getString(R.string.UltravioletLightOff);
        } else if (order == on) {
            orderStr = CartApplication.getInstance().getString(R.string.UltravioletLightOn);
        }
        return orderStr;
    }

    @Override
    protected String getModularTypeStr() {
        return CartApplication.getInstance().getString(R.string.UltravioletLight);
    }
}
